package com.zhong.thesimpleconnection.util;

/**
 * Created by 俊峰 on 2017/5/17.
 */

public class NativeHelper {

    static {
        //加载c代码库，库的名称，必须是CMakeLists.txt中指定的名称
        System.loadLibrary("native-lib");
    }

    public static byte[] getCryptSecret(byte[] sourceData){
        return getEncode(sourceData);
    }

    private static native byte[] getEncode(byte[] sourceData);

}
